package 笔试记录.M9day22深信服;

public class Main1 {
    public int reverse (int input_int) {
        // write code here
        String res = Integer.toString(input_int);
        StringBuilder s = new StringBuilder(res).reverse();
        int num = Integer.parseInt(s.toString());
        return num;
    }
}
